cmake_minimum_required(VERSION 3.16.3)
#project ( libukuitraymanager )


# 生成动态库
set(LIB_NAME ukuitraymanager)
set(LIB_SOURCES
    systemtraymanager.cpp
    systemtraymanager.h
)
add_library( ${LIB_NAME} SHARED
    ${LIB_SOURCES}
)
# 添加头文件目录
target_include_directories( ${LIB_NAME}
   PUBLIC
       ${PROJECT_SOURCE_DIR}/include
)
# 链接对象库
target_link_libraries( ${LIB_NAME}
   PRIVATE
   Qt5::Widgets
   Qt5::DBus
   dbusmenu-qt5
   ${SUB_LIB}
)



